package com.xmy.cultivate.entity;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 教师续报信息
 * </p>
 *
 * @author hpiggy
 * @since 2023-06-18
 */
@TableName("teacher_continue_info")
@ApiModel(value = "TeacherContinueInfo对象", description = "教师续报信息")
@Data
public class TeacherContinueInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    @ApiModelProperty("校区")
    private Long schoolId;

    @ApiModelProperty("科目")
    private Long subjectsId;

    @ApiModelProperty("学期id")
    private Long studentId;

    @ApiModelProperty("年级")
    private Integer yearClassId;

    @ApiModelProperty("年份")
    private Integer yearPart;

    @ApiModelProperty("季度:如春续暑的续报为春季id")
    private Integer quarterNum;

    @ApiModelProperty("带班老师")
    private Long teacherId;

    @ApiModelProperty("班级id")
    private Long gradeId;

    private Integer status;

    private String remark;

    /**
     * 所在班级分班信息id
     */
    private Long studentGradeId;

    @ApiModelProperty("0正常，1删除")
    @TableLogic
    private Integer deleted;

    @ApiModelProperty("成交日期")
    private LocalDate addDate;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createdAt;

    private LocalDateTime updateAt;
}
